<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>丝彩网站管理员登陆</title>
<link rel="icon" href="../favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="author" content="99EBC,http://www.xjiujiu.com" />
<meta name="Copyright" content="99EBC" />
<link href="__PUBLIC__default/admin/css/skin.css" rel="stylesheet" type="text/css"/>
<script src="__PUBLIC__default/comm/js/jquery.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #1D3647;
}
.top_hui_text {
    height: 25px;
    line-height: 25px;
    margin-right: 6px;
}
-->
</style>
<script language="JavaScript">

$(document).ready(function() {
    var checkCodeUrl    = $('#checkcode_id').attr('src');
    $('#change_checkcode_id').click(function() {
        var src     =  checkCodeUrl + '/' + Math.ceil(Math.random() * 100);
        $('#checkcode_id').attr('src', src);
    });        
    correctPNG();
});

/**
 * @author  九九
 * @name    检测用户输入
 * @param 	null
 * @return  void
 */
function loginCheckData(){
    var userName        = $('#user_name_id').val();
    var userPasswd      = $('#user_password_id').val();
    var checkCode       = $('#verify_code_id').val(); 
    if(userName == ""){
        alert("您还没有输入用户名！");
        $('#user_name_id').focus();
        return false;
    }else if(userPasswd == ""){
        alert("您还没有输入密码！");
        $('#user_password_id').focus();
        return false;
    }else if(checkCode == ""){
        alert("您还有验证码没有输入！");
        $('#checkcode_id').focus();
        return false;
    }else{
        return true;
    }
}

//修正PNG的透明
function correctPNG() {
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    if ((version >= 5.5) && (document.body.filters)) {
       for(var j=0; j<document.images.length; j++) {
          var img = document.images[j]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG") {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML;
             j = j-1
          }
       }
    }    
}
</script>


</head>
<body>
<table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top"><table width="89%" height="427" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="149">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top"><img
                  src="__PUBLIC__/default/admin/images/logo.png" width="279" height="68"></td>
                </tr>
                <tr>
                  <td height="198" align="right" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="35%">&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p>1- 地区商家信息网门户站建立的首选方案...</p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p>2- 一站通式的整合方式，方便用户使用...</p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td height="25" colspan="2" class="left_txt"><p>3- 强大的后台系统，管理内容易如反掌...</p></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                      <td width="30%" height="40"><img src="__PUBLIC__/default/admin/images/icon-demo.gif" width="16" height="16"><a href="http://www.xjiujiu.com" target="_blank" class="left_txt3"> 使用说明</a> </td>
                      <td width="35%"><a href="http://wpa.qq.com/msgrd?V=3&Uin=405494897&Site=http://www.xjiujiu.com&Menu=yes" target="_blank"><img border="0" src="http://wpa.qq.com/pa?p=2:405494897:45"> 在线客服</a></td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom"><table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">登陆信息网后台管理</span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table211" height="328">
                  <tr>
                    <td height="164" colspan="2" align="middle">
                    <form name="login_form" id="login_form_id"
                    action="__URL__/verifylogin" method="post" onsubmit="return loginCheckData();">
                        <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="143" id="table212">
                          <tr>
                            <td width="13%" class="top_hui_text" align="right"><span class="login_txt">管理员：&nbsp;&nbsp; </span></td>
                            <td colspan="2" class="top_hui_text" align="left"><input name="user_name" class="editbox4" value="" size="20">                            </td>
                          </tr>
                          <tr>
                            <td width="13%" class="top_hui_text"align="right"><span class="login_txt"> 密 码： &nbsp;&nbsp; </span></td>
                            <td colspan="2" class="top_hui_text" align="left"><input
                            class="editbox4" type="password" size="20" name="user_password">
                              <img src="__PUBLIC__/default/admin/images/luck.gif" width="19" height="18"> </td>
                          </tr>
                          <tr>
                            <td width="13%" align="right"><span class="login_txt">验证码：</span></td>
                            <td colspan="2" class="top_hui_text"align="left">
                                <input class="wenbenkuang" name="verify_code" id="verify_code_id" type="text" value="" maxLength=4 size=10>
                                <img src="__URL__/checkCode" id="checkcode_id"/>
                                <a href="javascript:void(0);"
                                id="change_checkcode_id">换一张？</a>
                            </td>
                          </tr>
                          <tr>
                            <td height="35" >&nbsp;</td>
                            <td width="20%" height="35" align="left"><input name="Submit" type="submit" class="button" id="Submit" value="登 陆"> </td>
                            <td width="67%" class="top_hui_text" align="left"><input name="cs" type="button" class="button" id="cs" value="取 消" onClick="showConfirmMsg1()"></td>
                          </tr>
                        </table>
                        <br>
                    </form></td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img
                    src="__PUBLIC__/default/admin/images/login-wel.gif" width="242" height="138"></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright &copy; 2010-2011 www.xjiujiu.com</span></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
